<? includeview("templates/include/page_header.php", "pageid", "page-search-words", "nomargintop", true, "titlepage", "Recherche", "refreshButton", true, "addBackButton", true) ?>
<div data-role="fieldcontain">
	<input type="search" id="words-search" value="" placeholder="Recherche d'une vidéo..." class="i18n"/>
	<input type="hidden" id="search-words-offset"/>
	<input type="hidden" id="search-words-sort" value="newest"/>
</div>

<div data-role="navbar" class="navbar-full-page navbar-sort-listview" style="margin-top: 30px">
	<ul>
		<li><a href="#" class="ui-btn-active btn-listview-sort i18n" sort-data="newest" i18n-id="listview.sort-newest">Newest</a></li>
		<li><a href="#" class="btn-listview-sort i18n" sort-data="popular" i18n-id="listview.sort-popular">Popular</a></li>
	</ul>
</div>
<ul data-role="listview" id="listview" style="margin-top: 15px">
	<li style="text-align: center; padding-top: 15px; display: none" id="listview-loader-top">
		<p>
		<img src="ajax-loader.gif"/><br/>
		<span class="i18n" i18n-id="listview.loading-text">Chargement en cours...</span>
		</p>
	</li>
	<li style="text-align: center; padding-top: 15px; display: none" id="listview-loader-bottom">
		<p>
		<img src="ajax-loader.gif"/><br/>
		<span class="i18n" i18n-id="listview.loading-text">Chargement en cours...</span>
		</p>
	</li>
	
	<li style="text-align: center; display: none" id="listview-item-notfound" class="i18n">Aucune vidéo trouvée.</li>
	<li style="text-align: center; display: none" id="listview-item-error" class="i18n">Impossible d'obtenir les vidéos.</li>
	<li style="text-align: center; display: none" id="listview-item-more" class="i18n">Voir plus d'éléments...</li>
</ul>
<script type="text/javascript" src="js/pages/search-words.js"></script>
<? includeview("templates/include/page_footer.php", "navbarselected", "videos") ?>